<ul>
<?php
foreach($items as $item):
	$url = explode('/', $item['link']);
	$report_id = $url[count($url)-1];
 ?>
<li>
	<?php echo $item['title'] ?> - <?php echo $ajax->link('Download', '/newz/download/' . $report_id)?>
</li>
<?php
endforeach ?>
</ul>
<?php echo pr($items)?>